<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<style type="text/css">
	table{
		width:780px;
		border:solid #000 1px;
		margin:auto;
	}
	td,th{
		border:solid #000 1px;
	}
</style>
</head>

<body>
<table>
	<tr>
		<th>编号</th>
		<th>商品名称</th>
		<th>规格</th>
		<th>价格</th>
		<th>库存量</th>
		<th>删除</th>
	</tr>
	{foreach $list as $rows}
	<tr>
		<td>{$rows['proID']}</td>
		<td>{$rows['proname']}</td>
		<td>{$rows['proguige']}</td>
		<td>{$rows['proprice']}</td>
		<td>{$rows['proamount']}</td>
		<td> <input type="button" value="删除" onclick="location.href='index.php?p=Admin&c=Products&a=del&proid={$rows['proID']}'"> </td>
	</tr>
	{/foreach}
</table>
</body>
</html>



